Skip to content

Conversation

@sl0thentr0py
Copy link
Member

@sl0thentr0py sl0thentr0py commented Dec 2, 2024

Instead of relying on fallback behaviour, it makes sense to populate the scopes on the first context during init.

This also fixes breadcrumb leakage between httplib and subprocess tests.

@codecov
Copy link

codecov bot commented Dec 2, 2024

❌ 415 Tests Failed:

Tests completed Failed Passed Skipped
19535 415 19120 4433
View the top 3 failed tests by shortest run time
tests.test_scope test_get_current_scope_tags
Stack Traces | 0.001s run time
tests/test_scope.py:343: in test_get_current_scope_tags
    assert scope1.client.__class__ == NonRecordingClient
E   AttributeError: client
tests.test_scope test_get_current_scope_tags
Stack Traces | 0.001s run time
tests/test_scope.py:343: in test_get_current_scope_tags
    assert scope1.client.__class__ == NonRecordingClient
E   AttributeError: 'PotelScope' object has no attribute 'client'
tests.test_scope test_get_current_scope_tags
Stack Traces | 0.001s run time
tests/test_scope.py:343: in test_get_current_scope_tags
    assert scope1.client.__class__ == NonRecordingClient
E   AttributeError: 'PotelScope' object has no attribute 'client'

To view more test analytics, go to the Test Analytics Dashboard
📢 Thoughts on this report? Let us know!

@sl0thentr0py sl0thentr0py merged commit 6e1b1cb into potel-base Dec 3, 2024
50 of 125 checks passed
@sl0thentr0py sl0thentr0py deleted the neel/potel/fix-scope-resetting branch December 3, 2024 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants